home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / networking / mail / mh / contrib / queuemh / queuemh-scripts / pland / rc.pland < prev    next >
Encoding:
Text File  |  1992-11-08  |  938 b   |  33 lines

  1. #! /bin/sh -
  2. #
  3. # bruno's rc file.
  4. #
  5. # Note that all "echo" commands are in parentheses.  This is done
  6. # because all commands that redirect the output to "/dev/console"
  7. # must be done in a child of the main shell, so that the main shell
  8. # does not open a terminal and get its process group set.  Since
  9. # "echo" is a builtin command, redirection for it will be done
  10. # in the main shell unless the command is run in a subshell.
  11. #
  12. PATH=/bin:/usr/bin:/usr/etc:/usr/local/etc:/usr/ucb
  13.  
  14. if [ -f /usr/etc/ftp-listener ]
  15. then
  16.     /usr/etc/ftp-listener &
  17.     (echo "ftp listener")    >/dev/console
  18. fi
  19.  
  20. if [ -f /usr/local/etc/pingem ]; then
  21.     /usr/local/etc/pingem &
  22.     (echo "pingem")     >/dev/console
  23. fi
  24.  
  25. if [ -x /usr/local/etc/pland ]; then
  26.     echo starting pland
  27.     (pland /homes/troubmh/.plan /usr/local/etc/status)>/tmp/pland.output 2>&1 &
  28. fi
  29.  
  30. if [ -x /usr/local/etc/erpcd ]; then
  31.     /usr/local/etc/erpcd; (echo 'Annex server.')            >/dev/console
  32. fi
  33.